package minidb.parse.exps;

public class DropExp extends SQLExp
{
	public static enum DropType{TABLE,VIEW,INDEX};
	
	public DropType dType;
	public String name;
	
	public DropExp(DropType dt,String n)
	{
		this.dType=dt;
		this.name=n;
	}
	
	@Override
	public String Print()
	{
		return "DROP "+this.dType.name()+" "+this.name+"\n";
	}

}
